
namespace Patterns4Net.Attributes.DesignPatterns
{
    using System;

    /// <summary>
    /// Use this attribute to annotate a type as an implementation of the Strategy design pattern.
    /// Such type should define just one method. If Strategy is class, it should be also non-sealed. 
    /// </summary>
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
    public sealed class StrategyAttribute : Attribute, IPatternAttribute
    {
    }
}
